# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-linux-libertine
pkgver=5.3.0
_date="2012_07_02"
pkgrel=3
pkgdesc="Serif (Libertine) and Sans Serif (Biolinum) OpenType fonts with large Unicode coverage"
url="https://linuxlibertine.sourceforge.net/"
arch="noarch"
license="GPL-2.0-or-later WITH Font-exception-2.0 AND OFL-1.0"
depends="fontconfig encodings mkfontscale"
source="https://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/$pkgver/LinLibertineTTF_${pkgver}_$_date.tgz"
builddir="$srcdir"
options="!check" # no tests

provides="ttf-linux-libertine=$pkgver-r$pkgrel"
replaces="ttf-linux-libertine"

package() {
	install -Dm644 *.ttf -t "$pkgdir"/usr/share/fonts/${pkgname#font-}
}

sha512sums="
ea9af8d47d22e5f35be65fbae08c7230602a57abe6f39e9a63a5761a69e519fe4e4ac41b878764035fdf8a2c8ee855c0cb9b0077a216d8ba5a2ddf615913e273  LinLibertineTTF_5.3.0_2012_07_02.tgz
"
